# Contributor: Maarten van Gompel <proycon@anaproy.nl>
# Maintainer: Maarten van Gompel <proycon@anaproy.nl>
pkgname=frog
pkgver=0.33
pkgrel=1
pkgdesc="Integration of natural language processing models for Dutch"
options="!check"
arch="all"
url="https://github.com/LanguageMachines/frog"
license="GPL-3.0-only"
depends="frogdata"
makedepends="libtool ticcutils-dev ucto-dev libfolia-dev timbl-dev
	mbt-dev mbtserver-dev icu-dev libxml2-dev libexttextcat-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/LanguageMachines/frog/releases/download/v$pkgver/frog-$pkgver.tar.gz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
78bc675b07fd453c1b573b6de6e8cdfe92fd91b0cf18b09602d8384ecdba802124b3da96f3292303dc6f60748fae0fc1ac3a03c5a88299835c9f3bc83d14b1e4  frog-0.33.tar.gz
"
